﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _5._2
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入你的生日");
            string s1 = Console.ReadLine();
            string s2 = Console.ReadLine();
            DateTime bir=new DateTime(DateTime.Today.Year,int.Parse(s1),int.Parse(s2));
            DateTime today = DateTime.Today;
            if((bir-today).Days>0)
            {
                int x = (bir - today).Days;
                int y = Convert.ToInt32(bir.DayOfWeek);
                Console.WriteLine("距离生日还有{0}天",x);
                Console.WriteLine("生日在星期"+ y);

            }
            else if((bir-today).Days<0)
            {
                Console.WriteLine("你的生日已过");
            }
            else
            {
                Console.WriteLine("今天就是你生日");
            }
            Console.ReadKey();

        }
    }
}
